import request from '../request/index'
export const getlist = ()=>request ({
    url:'/img/room/list',
    method:'get'
})
export const getadd = (values)=>request ({
    url:'/api/list',
    data:values,
    method:'put'
})
export const getdel = (id)=>request ({
    url:'/api/list',
    params:{id},
    method:'delete'
})
export const getedit = (values)=>request ({
    url:'/api/list',
    params:values,
    method:'post'
})